home *** CD-ROM | disk | FTP | other *** search
/ Chip 2007 January, February, March & April / Chip-Cover-CD-2007-02.iso / Pakiet bezpieczenstwa / mini Pentoo LiveCD 2006.1 / mpentoo-2006.1.iso / livecd.squashfs / usr / share / gnome / html / gnorba-decl.txt < prev    next >
Text File  |  2005-10-20  |  4KB  |  147 lines

  1. <ENUM>
  2. <NAME>GnorbaInitFlags</NAME>
  3. typedef enum {
  4.   GNORBA_INIT_SERVER_FUNC = 1 << 0,
  5.   GNORBA_INIT_DISABLE_COOKIES = 1 << 1
  6. } GnorbaInitFlags;
  7. </ENUM>
  8. <FUNCTION>
  9. <NAME>gnome_CORBA_init</NAME>
  10. <RETURNS>CORBA_ORB  </RETURNS>
  11. const char *app_id,const char *app_version,int *argc, char **argv,GnorbaInitFlags gnorba_flags,CORBA_Environment *ev
  12. </FUNCTION>
  13. <FUNCTION>
  14. <NAME>gnome_CORBA_init_with_popt_table</NAME>
  15. <RETURNS>CORBA_ORB  </RETURNS>
  16. const char *app_id,const char *app_version,int *argc, char **argv,const struct poptOption *options,int popt_flags,poptContext *return_ctx,GnorbaInitFlags gnorba_flags,CORBA_Environment *ev
  17. </FUNCTION>
  18. <FUNCTION>
  19. <NAME>gnome_CORBA_ORB</NAME>
  20. <RETURNS>CORBA_ORB  </RETURNS>
  21. void
  22. </FUNCTION>
  23. <FUNCTION>
  24. <NAME>gnorba_CORBA_init</NAME>
  25. <RETURNS>CORBA_ORB  </RETURNS>
  26. int *argc, char **argv,GnorbaInitFlags flags,CORBA_Environment *ev
  27. </FUNCTION>
  28. <FUNCTION>
  29. <NAME>gnome_name_service_get</NAME>
  30. <RETURNS>CORBA_Object  </RETURNS>
  31. void
  32. </FUNCTION>
  33. <FUNCTION>
  34. <NAME>goad_server_activation_id</NAME>
  35. <RETURNS>const char  *</RETURNS>
  36. void
  37. </FUNCTION>
  38. <FUNCTION>
  39. <NAME>goad_server_register</NAME>
  40. <RETURNS>int</RETURNS>
  41. CORBA_Object name_server,CORBA_Object server,const char* name,const char* kind,CORBA_Environment* ev
  42. </FUNCTION>
  43. <FUNCTION>
  44. <NAME>goad_server_unregister</NAME>
  45. <RETURNS>int</RETURNS>
  46. CORBA_Object name_server,const char* name,const char* kind,CORBA_Environment* ev
  47. </FUNCTION>
  48. <STRUCT>
  49. <NAME>GnomePluginObject</NAME>
  50. typedef struct {
  51.     const char   **repo_id;
  52.     const char   *server_id;
  53.     const char   *kind;
  54.     const char   *description;
  55.     CORBA_Object (*activate)   (PortableServer_POA poa,
  56.                     const char *goad_id,
  57.                     const char **params,
  58.                     gpointer *impl_ptr,
  59.                     CORBA_Environment *ev);
  60.     void         (*deactivate) (PortableServer_POA poa,
  61.                     const char *goad_id,
  62.                     gpointer impl_ptr,
  63.                     CORBA_Environment *ev);
  64. } GnomePluginObject;
  65. </STRUCT>
  66. <STRUCT>
  67. <NAME>GnomePlugin</NAME>
  68. typedef struct {
  69.     const GnomePluginObject *plugin_object_list;
  70.     const char *description;
  71. } GnomePlugin;
  72. </STRUCT>
  73. <ENUM>
  74. <NAME>GoadServerType</NAME>
  75. typedef enum {
  76.     GOAD_SERVER_SHLIB = 1,
  77.     GOAD_SERVER_EXE = 2,
  78.     GOAD_SERVER_RELAY = 3,
  79.     GOAD_SERVER_FACTORY = 4
  80. } GoadServerType;
  81. </ENUM>
  82. <ENUM>
  83. <NAME>GoadActivationFlags</NAME>
  84. typedef enum {
  85.     /* these two are mutually exclusive */
  86.     GOAD_ACTIVATE_SHLIB = 1 << 0,     /* prefer shlib activation */
  87.     GOAD_ACTIVATE_REMOTE = 1 << 1,     /* prefer remote activation */
  88.  
  89.     /* these two are mutually exclusive */
  90.     GOAD_ACTIVATE_EXISTING_ONLY = 1 << 2, /* Only do lookup in name
  91.                            * service for currently running
  92.                            * version.
  93.                            */
  94.     GOAD_ACTIVATE_NEW_ONLY = 1 << 3,      /* No lookup in name service. */
  95.     GOAD_ACTIVATE_ASYNC = 1 << 4 /* Just make sure that the object is running */
  96. } GoadActivationFlags;
  97. </ENUM>
  98. <STRUCT>
  99. <NAME>GoadServer</NAME>
  100. typedef struct {
  101.     GoadServerType type;
  102.         GoadActivationFlags flags; /* only GOAD_ACTIVATE_NEW_ONLY
  103.                       currently parsed in */
  104.     char     **repo_id;
  105.     char     *server_id;
  106.     char     *description;
  107.  
  108.         /*
  109.      * Executable/shlib path, relayer IOR, whatever.
  110.      * This field may disappear at any time. You have been warned ;-)
  111.      */
  112.     char     *location_info;
  113. } GoadServer;
  114. </STRUCT>
  115. <STRUCT>
  116. <NAME>GoadServerList</NAME>
  117. typedef struct {
  118.   GoadServer *list;
  119.   GHashTable *by_goad_id;
  120. } GoadServerList;
  121. </STRUCT>
  122. <FUNCTION>
  123. <NAME>goad_server_list_get</NAME>
  124. <RETURNS>GoadServerList  *</RETURNS>
  125. void
  126. </FUNCTION>
  127. <FUNCTION>
  128. <NAME>goad_server_list_free</NAME>
  129. <RETURNS>void  </RETURNS>
  130. GoadServerList *server_list
  131. </FUNCTION>
  132. <FUNCTION>
  133. <NAME>goad_server_activate</NAME>
  134. <RETURNS>CORBA_Object  </RETURNS>
  135. GoadServer *sinfo,GoadActivationFlags flags,const char **params
  136. </FUNCTION>
  137. <FUNCTION>
  138. <NAME>goad_server_activate_with_repo_id</NAME>
  139. <RETURNS>CORBA_Object  </RETURNS>
  140. GoadServerList *server_list,const char *repo_id,GoadActivationFlags flags,const char **params
  141. </FUNCTION>
  142. <FUNCTION>
  143. <NAME>goad_server_activate_with_id</NAME>
  144. <RETURNS>CORBA_Object</RETURNS>
  145. GoadServerList *server_list,const char *server_id,GoadActivationFlags flags,const char **params
  146. </FUNCTION>
  147.